export default [
  {
    url: "/mock/api/authentication/oauth/getApplicationByTenant",
    method: "get",
    response: () => {
      return {
        code: 0,
        errorMsg: "",
        extra: null,
        isSuccess: true,
        msg: "",
        path: "",
        timestamp: +new Date(),
        data: {
          appType: "pc",
          clientId: "124456123123",
          clientSecret: "f23f2fqw12ehjyk76243r4232rwqed",
          describe: "",
          icon: "",
          name: "sl",
          state: 1,
          url: "",
        },
      };
    },
  },
  {
    url: "/mock/api/authentication/oauth/login",
    method: "post",
    response: ({ headers }) => {
      return {
        code: 0,
        errorMsg: "",
        extra: null,
        isSuccess: true,
        msg: "",
        path: "",
        timestamp: +new Date(),
        data: {
          account: "admin",
          name: "管理员小李",
          token: "tehrtjtyketfewrfqwrgsgh43tg243r243try5353",
          userId: 1,
        },
      };
    },
  },
];
